package inttest;

public class IntIplusTest {

    public static void main(String[] args) {
        int i = 0;
        i = i++;
        System.out.println("i = " + i); // 0
        int a = i++;
        System.out.println("a = " + a + ", i = " + i); // 0 1

        int j = 0;
        j = ++j;
        System.out.println("j = " + j); // 1
        int b = ++j;
        System.out.println("b = " + b + ", j = " + j); // 2 2

    }
}
